package com.liveinstars.api.im;

import com.liveinstars.api.im.vo.CoinVO;
import com.liveinstars.api.im.vo.TradePairVO;
import com.onepiece.shipelves.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author: zhouze
 * @date: 2020/3/20
 */
@FeignClient("im")
public interface QuotesApi {

    /**
     * 获取coin tips列表
     * @return
     */
    @GetMapping("/quotes/listTipsCoin")
    Result<List<CoinVO>> listTipsCoin();

    /**
     * 获取交易对 tips列表
     * @return
     */
    @GetMapping("/quotes/listTipsTradePair")
    Result<List<TradePairVO>> listTipsTradePair();
}
